package com.zttek.videoShareProject.modules.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author CBY
 * @since 2018-07-03
 */
public class Follow extends Model<Follow> {

    private static final long serialVersionUID = 1L;

    /**
     * 关注者
     */
    @TableId("follow_id")
	private Long followId;
    /**
     * 粉丝
     */
	@TableField("follower_id")
	private Long followerId;
    /**
     * 关注时间
     */
	@TableField("follow_date")
	private Date followDate;


	public Long getFollowId() {
		return followId;
	}

	public void setFollowId(Long followId) {
		this.followId = followId;
	}

	public Long getFollowerId() {
		return followerId;
	}

	public void setFollowerId(Long followerId) {
		this.followerId = followerId;
	}

	public Date getFollowDate() {
		return followDate;
	}

	public void setFollowDate(Date followDate) {
		this.followDate = followDate;
	}

	@Override
	protected Serializable pkVal() {
		return this.followId;
	}

	@Override
	public String toString() {
		return "Follow{" +
			"followId=" + followId +
			", followerId=" + followerId +
			", followDate=" + followDate +
			"}";
	}
}
